package com.liveneo.adapter.mobile.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.liveneo.adapter.base.entity.PrpmVerifyResultInfo;
import com.liveneo.adapter.base.mapper.PrpmVerifyResultInfoMapper;
import com.liveneo.adapter.mobile.service.VerifyResultInfoService;

@Service
public class VerifyResultInfoServiceImpl implements VerifyResultInfoService {
    @Autowired
    private PrpmVerifyResultInfoMapper prpmVerifyResultInfoMapper;

    @Override
    public List<PrpmVerifyResultInfo> selectByLossItemUuid(String lossItemUuid) {
        return prpmVerifyResultInfoMapper.selectByLossItemUuid(lossItemUuid);
    }

	/**
	  * @Title: save
	  * @Description: 
	  * @param @param prpmVerifyResultInfo
	  * @param @return 设定文件
	  * @return 返回类型
	  * @throws
	  */
	@Override
	public int saveVerifyResultInfo(PrpmVerifyResultInfo prpmVerifyResultInfo) {
		return prpmVerifyResultInfoMapper.insert(prpmVerifyResultInfo);
	}

	/**
	  * @Title: deleteVerifyResultInfo
	  * @Description: TODO
	  * @param @param lossItemCypId
	  * @param @return 设定文件
	  * @return 返回类型
	  * @throws
	  */
	@Override
	public int deleteVerifyResultInfo(String lossItemCypId) {
		
		return prpmVerifyResultInfoMapper.deleteByLossItemCypId(lossItemCypId);
	}
}
